package com.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.entity.SupplierSupplier;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 供应商  yyt(SupplierSupplier)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-21 10:12:53
 */
@Mapper
public interface SupplierSupplierMapper extends BaseMapper<SupplierSupplier> {

    List<SupplierSupplier> superSearch(String superSearchKeyWord);

    List<SupplierSupplier> queryAllByModel(SupplierSupplier model);

    //修改
    Integer updateOne(SupplierSupplier supplierSupplier);

    //逻辑删除
    Integer deleteOne(SupplierSupplier supplierSupplier);

    //新增
    Integer insertOne(SupplierSupplier supplierSupplier);

    //获取供应商列表
    List<SupplierSupplier> getSupplierList();
}
